/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tesam.gedeon.service;

import com.tesam.gedeon.entity.Network;
import java.util.List;

/**
 *
 * @author Sistema
 */
public interface NetworkService {
    
    public List<Network> getListAll();
    
    public List<Network> getAllByLimit(String dataToSort ,String directionOfOrder , int startLimit , int endLimit);
    
    public int getCountAll();
    
    public List<Network> getSearchNetworkByLimit(String dataToSort, String directionOfOrder, int startLimit, int endLimit, Network network);
    
    public int getTotalBySearch(Network network);
    
    public String getJsonDataFromArrayList(List<Network> listaDeRoles, int cantidadRegistros);
    
    public List<Network> getNetworkById(Network network);
    
    public List<Network> updateNetwork(Network network);
    
    public void deleteNetwork(Network network);
    
    public int saveNetwork(Network network);
}
